import request from "@/utils/request";
import type {getlisttype} from '@/types/login'


export const _getData = (params:getlisttype)=>request.get('/api/api/getBase',{params})
export const _deleteData = (id:any) => request.delete('/api/api/deleteBase',{params:{id}})
export const _addData = (params:any) => request.post('/api/api/addBase',params)
export const _updateData = (params:any) => request.put('/api/api/updateBase',params)
export const SelectData = (params:any) => request.get('/api/api/SelectBase',{params})